<%@page import="com.zhixiang.xaec.service.system.AppUserService"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<%@page import="com.zhixiang.core.util.AppUtil"%>
<%@page import="com.zhixiang.core.util.ContextUtil"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript">
var __ctxPath="<%=request.getContextPath() %>";
var __fullPath="<%=request.getScheme() + "://" + request.getHeader("host") +  request.getContextPath()%>";
</script>
<%
    String basePath=request.getContextPath();

//  //登录成功后，需要把该用户显示至在线用户
//  AppUtil.addOnlineUser(request.getSession().getId(), ContextUtil.getCurrentUser());
//  if(ContextUtil.getCurrentUser().getRights().contains("__ALL")){
        request.setAttribute("IS_MANAGER",true);
//  }
    //lpt add  
    request.setAttribute("ctxPath",basePath);
    AppUserService appUserService=(AppUserService)AppUtil.getBean("appUserService");
%>
<link rel="shortcut icon" href="<%=basePath%>/resources/images/system/favicon.ico"/> 
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/ext3/resources/css/ext-all-notheme.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/ext3/resources/css/ext-patch.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/ext3/ux/css/Portal.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/ext3/ux/css/Ext.ux.UploadDialog.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/css/admin.css"/>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/ext3/ux/css/ux-all.css"/>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/ext3/ux/caltask/calendar.css" />
<!-- load the extjs libary -->

<script type="text/javascript" src="${ctxPath}/resources/common/Constant.js"></script>

<!-- Ext 核心JS -->
<script type="text/javascript" src="<%=basePath%>/resources/ext3/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ext-all.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ext-basex.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ext-lang-zh_CN.js"></script>

<!-- 重写EXT组件 -->
<%-- <script type="text/javascript" src="<%=basePath%>/resources/js/core/ExtX.js"></script> --%>

<!--使用iframe加载的依赖JS  -->
<script type="text/javascript" src="<%=basePath%>/resources/ext3/miframe-debug.js"></script>
<!-- 附件上传对话框 -->
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/UploadDialog.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/FileUploadField.js"></script>
<!-- 附件明细JS,多处用到 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/system/FileAttachDetail.js"></script>
<!-- AppUtil.js中引用附件上传的JS -->
<script type="text/javascript" src="<%=basePath%>/resources/js/system/FileUploadManager.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/system/ForderForm.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/system/ResetPasswordForm.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/system/FileUploadImageDetailForm.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/system/FileUploadImageDetailForm1.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/system/FileUploadImageUpdatelForm.js"></script>

<!-- 分页栏JS HTExt.js中引用 -->
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/PageComboResizer.js"></script>

<!-- 提示信息JS -->
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/Toast.js"></script>

<!-- GirdPanel中引用 -->
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/Ext.ux.grid.RowActions.js"></script>

<!-- 需要的 JS-->
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.system.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.jichu.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.huanbaojiance.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.zhiyejiankang.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.xiaoji.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.jiancha.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.chaxun.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/app/App.chaxun.js"></script>

<script type="text/javascript" src="<%=basePath%>/resources/js/App.import.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/XmlTreeLoader.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/TabCloseMenu.js"></script>      
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/DateTimeField.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/DataView-more.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/DataViewTransition.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/ext3/ux/RowEditor.js""></script>

<!-- 用户选择器,多处用到 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/selector/UserSelector.js"></script>
<!-- 部门选择器,多处用到 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/selector/DepSelector.js"></script>
<!-- 在线用户选择器,在主页面显示在线用户时用到 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/selector/OnlineUserSelector.js"></script>
<!-- 树型下拉选择器,多处用到 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/core/TreeSelector.js"></script>

<!-- core 工具JS -->
<script type="text/javascript" src="<%=basePath%>/resources/js/core/ux/HTExt.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/ScriptMgr.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/AppUtil.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/ux/TreePanelEditor.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/ux/TreeXmlLoader.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/ux/WebOffice.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/ux/TreeCombo.js"></script>

<!-- 日期转换JS,目前AppUtil.js已提供$parseDate()方法 ,后续可将此JS换掉-->
<script type="text/javascript" src="<%=basePath%>/resources/js/core/date.js"></script>

<!-- 首页样式加载 -->
<link href="<%=basePath%>/resources/css/desktop.css" rel="stylesheet" type="text/css" />   

<!-- 首页便签 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/info/PersonalTipsView.js"></script>


<!-- 自定义一些utils -->
<script type="text/javascript" src="<%=basePath%>/resources/js/utils/html2canvas.js"></script>
<%-- <script type="text/javascript" src="<%=basePath%>/resources/js/utils/organization.js"></script> --%>
<script type="text/javascript" src="<%=basePath%>/resources/js/utils/ProjectTree.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/utils/searchForm.js"></script>
<%-- <script type="text/javascript" src="<%=basePath%>/resources/js/utils/ScrollText.js"></script> --%>
 
 
<!-- 第三方插件 -->
<script type="text/javascript" src="<%=basePath%>/resources/js/third/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/third/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/third/validate/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/third/validate/additional-methods.js"></script>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/js/third/validate/jquery.validate.css"/>
<script type="text/javascript" src="<%=basePath%>/resources/js/third/validate/messages_cn.js"></script>

<!-- 百度echarts -->
<script type="text/javascript" src="<%=basePath%>/resources/js/third/echarts/echarts-3.1.9.js"></script>
<!-- angular.js -->
<script type="text/javascript" src="<%=basePath%>/resources/js/third/angular-1.0.1.min.js"></script>
<!-- echarts -->
<script type="text/javascript" src="<%=basePath%>/resources/js/utils/chart.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/utils/ChartUtils.js"></script>
<!-- 引用年份树yeargrid -->
<script type="text/javascript" src="<%=basePath%>/resources/js/core/yeargridview.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/yeargridform.js"></script>
<script type="text/javascript" src="<%=basePath%>/resources/js/core/gridview.js"></script>
